package com.tw.trips.repository;

import org.springframework.data.neo4j.repository.GraphRepository;
import org.springframework.data.neo4j.repository.RelationshipOperationsRepository;

import com.tw.trips.domain.Location;

public interface LocationRepository extends GraphRepository<Location>,
		RelationshipOperationsRepository<Location> {
	Location findByName(String name);

	Location findByNodeiD(Long nodeiD);
}
